package com.tourism.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.tourism.entity.common.LongBasicEntity;
import lombok.Data;

/**
 * @Description
 * @Author z
 * @Date 2021-05-01 10:09
 */
@Data
public class AttractionCollect extends LongBasicEntity {
    /**
     * 用户id1
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;
    /**
     * 景点id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long attractionId;
    /**
     * 链接地址
     */
    private String linkAddress;

    /**
     * 景点的名称
     */
    private String name;
    /**
     * 景点的图像
     */
    private String picture;
    /**
     * 浏览量
     */
    private int pageViews;
    /**
     * 收藏量
     */
    private int collection;
}
